package com.arpa.ntocc.basic.api.mapper;

import com.arpa.ntocc.basic.api.domain.dto.AppInfoDTO;
import com.arpa.ntocc.basic.api.domain.entity.AppInfo;
import com.arpa.ntocc.basic.api.domain.vo.AppInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * APP发布信息 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-03-17
 */
public interface AppInfoMapper extends BaseMapper<AppInfo> {

    /**
     * 查询列表
     * @param appInfoDTO
     * @return
     */
    List<AppInfoVO> queryList(AppInfoDTO appInfoDTO);

    /**
     * 查询合计,包含总数
     * @param appInfoDTO
     * @return
     */
    AppInfoVO queryListSum(AppInfoDTO appInfoDTO);
}
